package com.boarsoft.flow.store;

import java.util.List;

import com.boarsoft.common.dao.PagedResult;
import com.boarsoft.flow.core.SimpleFlow;

/**
 * 空实现（默认实现）
 * 
 * @author Mac_J
 *
 */
public class EmptyFlowPersisterImpl implements SimpleFlowPersister {

	@Override
	public void save(SimpleFlow o) {
		//Nothing to do
	}

	@Override
	public boolean update(SimpleFlow o) {
		return false;
	}

	@Override
	public List<SimpleFlow> list(int revMax1, int revMax2, int revMax3) {
		return null;
	}

	@Override
	public SimpleFlow load(String flowId, String exeId) {
		return null;
	}

	@Override
	public void delete(SimpleFlow flow) {
		this.remove(flow.getFlowId(), flow.getId());
	}

	@Override
	public SimpleFlow remove(String flowId, String exeId) {
		return null;
	}

	@Override
	public PagedResult<SimpleFlow> list(String flowId, String key, int pageNo, int pageSize) {
		return null;
	}
}
